﻿/// ****************************************************************************
/// Author:	        Robin Zhu
/// Create Date:	2012-4-26
/// Purpose: 		应用程序入口设置记录
/// ****************************************************************************
/// Modify By		Date			Remark
/// ****************************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RB.Domain.Models;

namespace RB.Web.Security
{
    /// <summary>
    /// 应用程序入口设置记录类
    /// </summary>
    [RB.DataAccess.Attributes.QueryName("AppEntry")]
    [RB.DataAccess.Attributes.TableName("AppEntry")]
    public class AppEntry : IConfigInfo, ICreateLog, IModifyLog
    {
        [System.ComponentModel.DataAnnotations.StringLengthAttribute(20)]
        public string Code { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(100)]
        public string Name1 { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(50)]
        public string CreateBy { get; set; }

        public DateTime? CreateTime { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(50)]
        public string ModifyBy { get; set; }

        public DateTime? ModifyTime { get; set; }

        public bool IsDisabled { get; set; }

        public short? Sequence { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(255)]
        public string Logo { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(255)]
        public string DefaultUrl { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(255)]
        public string LoginUrl { get; set; }

        public bool IsPublic { get; set; }

    }


}
